package com.xcw.mapper;

import com.xcw.entity.req.UserLoginParams;
import com.xcw.entity.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2022-06-25
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> getUserList(@Param("userLoginParams") UserLoginParams userLoginParams);

    List<User> getUserByName(@Param("name") String name);

    int getCount(@Param("s") String s);

    List<User> getUserBySE( @Param("codition") String codition, @Param("start") Integer start, @Param("counts") Integer counts);
}
